﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using HiStaff.Domain.HU;
using HiStaff.Dal;
namespace HiStaff.Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Profile" in code, svc and config file together.
    public partial class Profile : IProfile
    {
        public List<HU_ORGANIZATION> GetOrganization()
        {
            return OracleHelper.ExcuteSelectMultiObject<HU_ORGANIZATION>("APRS_HU_ORGANIZATION");
        }
        public List<HU_SALARY> GetSalary(HU_SALARY arg)
        {
            return OracleHelper.ExcuteSelectMultiObject<HU_SALARY>("APRS_HU_SALARY", arg);
        }
        public List<EMPLOYEE_SELECTION> GetEmployeeSelection(EMPLOYEE_SEARCH arg)
        {
            return OracleHelper.ExcuteSelectMultiObject<EMPLOYEE_SELECTION>("PRS_EMPLOYEE_SELECTION", arg);
        }
    }
}
